<?php
	

defined('_JEXEC') or die('Restricted access');
JHTML::_( 'behavior .modal' );

$mainframe = &JFactory::getApplication(); 
$lang		=& JFactory::getLanguage();
$template	= $mainframe->getTemplate();

$langue		=substr((@$lang->getTag()),0,2);
if ($langue!='fr') $langue = 'en';

$user	= & JFactory::getUser();
?>

<table class="admintable">
    <tr>
        <td width="55%" valign="top" colspan="2">
            <div id="cpanel">
            	<?php if (!$user->get('gid')==25) {?>
                <div style="float:<?php echo ($lang->isRTL()) ? 'right' : 'left'; ?>;">
                    <div class="icon">
                        <a class="modal" href="index.php?option=com_config&view=component&component=com_nbeventmap&path=&tmpl=component" rel="{handler: 'iframe', size: {x: 875, y: 550}, onClose: function() {}}">
                            <?php echo JHTML::_('image.site',  'icon-48-config.png', '/templates/'. $template .'/images/header/'); ?>
                            <span><?php echo JText::_('NBEVENTMAP_PARAMETRES'); ?></span>
                        </a>
                    </div>
                </div>
                <?php };?>
                <div style="float:<?php echo ($lang->isRTL()) ? 'right' : 'left'; ?>;">
                    <div class="icon">
                        <a href="index.php?option=com_nbeventmap&controller=nbeventmap&task=view">
                            <?php echo JHTML::_('image.site',  'icon-48-language.png', '/templates/'. $template .'/images/header/'); ?>
                            <span><?php echo JText::_('NBEVENTMAP_LIEUX'); ?></span>
                        </a>
                    </div>
                </div>
                <div style="float:<?php echo ($lang->isRTL()) ? 'right' : 'left'; ?>;">
                    <div class="icon">
                        <a href="index.php?option=com_nbeventmap&controller=marqueurs&task=view">
                            <?php echo JHTML::_('image.site',  'icon-48-banner.png', '/templates/'. $template .'/images/header/'); ?>
                            <span><?php echo JText::_('NBEVENTMAP_MARQUEURS'); ?></span>
                        </a>
                    </div>
                </div>
                <?php  ?>
                <div style="float:<?php echo ($lang->isRTL()) ? 'right' : 'left'; ?>;">
                    <div class="icon">
                        <a href="index.php?option=com_categories&section=com_nbeventmap">
                            <?php echo JHTML::_('image.site',  'icon-48-category.png', '/templates/'. $template .'/images/header/'); ?>
                            <span><?php echo JText::_('NBEVENTMAP_CATEGORIES'); ?></span>
                        </a>
                    </div>
                </div>
                <div style="float:<?php echo ($lang->isRTL()) ? 'right' : 'left'; ?>;">
                    <div class="icon">
                        <a href="index.php?option=com_nbeventmap&controller=personnalisations&task=view">
                            <?php echo JHTML::_('image.site',  'icon-48-article.png', '/templates/'. $template .'/images/header/'); ?>
                            <span><?php echo JText::_('NBEVENTMAP_PERSONNALISATION'); ?></span>
                        </a>
                    </div>
                </div>
                <div style="float:<?php echo ($lang->isRTL()) ? 'right' : 'left'; ?>;">
                    <div class="icon">
                        <a href="index.php?option=com_nbeventmap&controller=css&task=view">
                            <?php echo JHTML::_('image.site',  'icon-48-themes.png', '/templates/'. $template .'/images/header/'); ?>
                            <span>CSS</span>
                        </a>
                    </div>
                </div>
			</div>
    	</td>
		<td width="45%" valign="top">
		<div style="width: 100%">
		</div>
		</td>
	</tr>
	<tr>
    	<td>

    	</td>
   </tr>
</table>
<div class="copyright" align="center">
	<br />
	<?php echo JText::_( 'NBEVENTMAP_COPYRIGHT' );?>
</div>
<div class="clr"></div>

